const security = [
  {
    path: "/app/userMgr/list",
    name: "userMgr",
    component: (resolve) =>
      require(["../components/page/security/usermgr/usermgr.vue"], resolve),
    meta: { title: "账号信息", flag: false },
  },
  {
    path: "/userMgrDeawer",
    name: "userMgrDeawer",
    component: (resolve) =>
      require([
        "../components/page/security/usermgr/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "账号信息", flag: true },
  },

  {
    path: "/app/permissionMgr/list",
    name: "permissionMgr",
    component: (resolve) =>
      require([
        "../components/page/security/permissionMgr/permissionMgr.vue",
      ], resolve),
    meta: { title: "security.roleSetting", flag: false },
  },
  {
    path: "/permissionMgrDeawer",
    name: "permissionMgrDeawer",
    component: (resolve) =>
      require([
        "../components/page/security/permissionMgr/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "security.roleSetting", flag: true },
  },
  {
    path: "/app/umenu/list",
    name: "umenuRun",
    component: (resolve) =>
      require(["../components/page/security/umenuRun/umenuRun.vue"], resolve),
    meta: { title: "security.menuSetting", flag: false },
  },
  {
    path: "/umenuRunDeawer",
    name: "umenuRunDeawer",
    component: (resolve) =>
      require([
        "../components/page/security/umenuRun/deawer/Deawer.vue",
      ], resolve),
    meta: { title: "security.menuSetting", flag: true },
  },
  {
    path: "/buttonPermission",
    name: "buttonPermission",
    component: (resolve) =>
      require([
        "../components/page/security/buttonPermission/buttonPermission.vue",
      ], resolve),
    meta: { title: "菜单信息", flag: false },
  },
  {
    path: "/menuPermission",
    name: "menuPermission",
    component: (resolve) =>
      require([
        "../components/page/security/menuPermission/menuPermission.vue",
      ], resolve),
    meta: { title: "用户菜单", flag: false },
  },
  {
    path: "/rolePermission",
    name: "rolePermission",
    component: (resolve) =>
        require([
          "../components/page/security/rolePermission/rolePermission.vue",
        ], resolve),
    meta: { title: "角色菜单", flag: false },
  },
];
export default security;
